using System;

namespace Matrix.Configuration.Events
{
    /// <summary>
    /// 配置变更事件（暂时禁用）
    /// </summary>
    public class ConfigurationChangedEvent
    {
        /// <summary>
        /// 命名空间
        /// </summary>
        public string Namespace { get; set; } = string.Empty;

        /// <summary>
        /// 配置键
        /// </summary>
        public string Key { get; set; } = string.Empty;

        /// <summary>
        /// 新值（JSON格式）
        /// </summary>
        public object? NewValue { get; set; }

        /// <summary>
        /// 旧值（可选）
        /// </summary>
        public object? OldValue { get; set; }

        /// <summary>
        /// 变更时间
        /// </summary>
        public DateTime ChangeTime { get; set; }

        /// <summary>
        /// 变更人
        /// </summary>
        public string ChangedBy { get; set; } = string.Empty;
    }
}